package com.ly.heart.service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ly.heart.domain.OrderPaymentPlanEntity;

/**
 * 采购订单关联付款计划Service接口
 *
 * @author cxl
 * @date 2024-06-23
 */
public interface IOrderPaymentPlanService extends IService<OrderPaymentPlanEntity> {
    /**
     * 查询采购订单关联付款计划
     *
     * @param id 采购订单关联付款计划ID
     * @return 采购订单关联付款计划
     */
    public OrderPaymentPlanEntity selectOrderPaymentPlanEntityById(String id);

    /**
     * 查询采购订单关联付款计划列表
     *
     * @param orderPaymentPlanEntity 采购订单关联付款计划
     * @return 采购订单关联付款计划集合
     */
    public List<OrderPaymentPlanEntity> selectOrderPaymentPlanEntityList(OrderPaymentPlanEntity orderPaymentPlanEntity);

    /**
     * 新增采购订单关联付款计划
     *
     * @param orderPaymentPlanEntity 采购订单关联付款计划
     * @return 结果
     */
    public int insertOrderPaymentPlanEntity(OrderPaymentPlanEntity orderPaymentPlanEntity);

    /**
     * 修改采购订单关联付款计划
     *
     * @param orderPaymentPlanEntity 采购订单关联付款计划
     * @return 结果
     */
    public int updateOrderPaymentPlanEntity(OrderPaymentPlanEntity orderPaymentPlanEntity);

    /**
     * 批量删除采购订单关联付款计划
     *
     * @param ids 需要删除的采购订单关联付款计划ID
     * @return 结果
     */
    public int deleteOrderPaymentPlanEntityByIds(String[] ids);

    /**
     * 删除采购订单关联付款计划信息
     *
     * @param id 采购订单关联付款计划ID
     * @return 结果
     */
    public int deleteOrderPaymentPlanEntityById(String id);
}
